package com.ruoyi.teacher.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教师与课程的多对多关系对象 teacher_course
 * 
 * @author ruoyi
 * @date 2024-12-16
 */
public class TeacherCourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 教师工号 */
    private String teacherId;

    /** 课程ID */
    private Long courseId;

    public void setTeacherId(String teacherId) 
    {
        this.teacherId = teacherId;
    }

    public String getTeacherId() 
    {
        return teacherId;
    }
    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("teacherId", getTeacherId())
            .append("courseId", getCourseId())
            .toString();
    }
}
